package com.nifostasky.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 系统用户(SysUser)表实体类
 *
 * @author makejava
 * @since 2022-03-18 14:14:27
 */
@Data
@TableName(value = "sys_user")
public class SysUser implements Serializable{

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;


    /**
    *用户名
    */
    @TableField(value = "username")
    private String username;

    /**
    *密码
    */
    @TableField(value = "password")
    private String password;

    /**
    *盐
    */
    @TableField(value = "salt")
    private String salt;

    /**
    *邮箱
    */
    @TableField(value = "email")
    private String email;

    /**
    *手机号
    */
    @TableField(value = "mobile")
    private String mobile;

    /**
    *状态  0：禁用   1：正常
    */
    @TableField(value = "status")
    private Integer status;

    /**
    *创建者ID
    */
    @TableField(value = "create_user_id")
    private Long createUserId;

    /**
    *创建时间
    */
    @TableField(value = "create_time")
    private Date createTime;

}
